<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>订餐系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="订餐系统">
	<link rel="stylesheet" type="text/css" href="css/styles.css">
	<script src="js/jquery-1.6.2.min.js" type="text/javascript"></script>
	<script src="js/bookdinner.js" type="text/javascript"></script>
	<script src="js/jquery-ui-1.8.20.custom.min.js" type="text/javascript"></script>
  </head>
  
  <body>
    <h1 id="login-title">要草订餐系统</h1>
    <div class="login-container">
    <form id="login">
    	<div class = "item">
    	<label class="label2">账号：</label><input name="name" id="name" type="text" /><br />
    	</div>
    	<div class = "item">
    	<label class="label2">密码：</label><input name="password" id="password" type="password" /><br />
    	</div>
    	<div class="register-class item" ><label class="label2">密码：</label><input name="password2" id="password2" type="password" /></div>
    	<div class="item"><label class="label2">电话：</label><input name="phone" id="phone" type="text" /></div>
    	<div class="register-class item"><label class="label2">邮箱：</label><input name="email" id="email" type="text" /></div>
    	<div class="register-class item"><label class="label2">地址：</label><input name="address" id="address" type="text" /></div>
    
    	<input type="button" class="hello" id="userLogin" value="登录" />
    	<input type="button" class="hello" id="register" class="register-class" value="注册"><br />
    </form>
    </div>
    <div id="registerInfoRight">
    	注册成功，自动登录
    </div>
    <div id="registerInfoFalse">
    	注册失败
    </div>
    <div id="registerInfoBlank">
    	注册信息不能为空
    </div>
    <div id="registerInfoPasswordDiff">
    	两次密码不一样
    </div>
    <div id="registerInfoUserExist">
    	该用户名和电话号码已存在
    </div>
    <div id="loginInfoRight">
    	登陆成功
    </div>
    <div id="loginInfoFalse">
    	登录信息不正确
    </div>
    <div id="loginInfoBlank">
    	登录信息不能为空
    </div>
  </body>
</html>
